<% include ../common/loginheader.ejs %>

<div class="container">
    <div style="border:1px solid red;">
      <%= success %>
      <%= error %>
    </div>
    <div class="panel panel-primary">
        <div class="panel-heading">注册</div>
        <div class="panel-body">
            <form method="post" action="">
                <div class="form-group">
                  <label for="exampleInputEmail1">用户名</label>
                  <input type="text" name="username" class="form-control" id="exampleInputEmail1" placeholder="请输入用户名">
                </div>
                <div class="form-group">
                  <label for="exampleInputPassword1">密码</label>
                  <input type="password" name="password" class="form-control" id="exampleInputPassword1" placeholder="请输入密码">
                </div>
                
                <button type="submit" class="btn btn-primary">注册</button> 
                <a class="btn btn-default" href="/user/login" role="button">去登录</a>
              </form>
        </div>
      </div>
    
</div>

<% include ../common/footer.ejs %>